#ifndef _UTILS_H
#define _UTILS_H

/* ********************data types *********************/
#ifndef __cplusplus
#define bool char
#define true 1
#define false 0
#else
#include <stdbool.h>
#endif

/********************* declations *********************/
extern bool iscodefile( char *filename );
extern bool iswhitespace( char chr );
extern bool isoperator( char chr );
extern bool isendwithbrace( char *str );
extern bool iscomments( char *str, bool *multiple_line );
extern void str_rm_extra_wsp( char *str , char *simplified_line );
#endif
